<?php
	// Default Dekoratoren
	$this->form->useDefaultDecorators();
	// Button durch ImageButton ersetzen
	$element = new Zend_Form_Element_Image('btnResetPassword');
    $element->setAttrib('src', 'sherpa/img/btn-speichern.gif');
	$this->form->removeElement('btnResetPassword');
	$this->form->addElement($element);
    // Erforderliche Angaben
	$element = new Zend_Form_Element_Text('required');
	$element->getDecorator('ViewHelper')->setOption('helper', 'FormNote');
	$element->setValue('<span class="required">*</span> erforderliche Angaben');
	$this->form->addElement($element);
	$this->form->getElement('btnResetPassword')->setOrder(1000);
	// Element-Klassen setzen
	$this->form->getElement('password')->setAttrib('class', 'textfield');
	$this->form->getElement('confirmPassword')->setAttrib('class', 'textfield');
	$this->form->getElement('btnResetPassword')->getDecorator('HtmlTag')->setOption('class', 'button');
?>
<h2 class="title-bar">Mein Konto: Login</h2>
<div class="form-box-wrapper" style="width:442px">
	<div class="form-box">

		<h3>Passwort zur&uuml;cksetzen</h3>
		<?php if(empty($this->firstname) && empty($this->lastname)): ?>
		<p>Hallo <?php echo $this->username ?>,</p>
		<?php else: ?>
		<p>Hallo <?php echo $this->firstname ?> <?php echo $this->lastname ?>,</p>
		<?php endif; ?>
		<p>Sie k&ouml;nnen jetzt Ihr Passwort zur&uuml;cksetzen.</p>
		<?php $this->form->setAction($this->requestUri(false)) ?>
		<?php echo $this->form->render($this) ?>

	</div>
</div>